import { request } from '../index'
const token = localStorage.getItem('Authorization') ?
  localStorage.getItem('Authorization') : '';

export function getCateById(id) {
  return request({
    url: `/my/article/cates/${id}`,
    headers: {
      Authorization: token
    }
  })
}
